<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<title></title>
	<link rel="stylesheet" href="${staticServer}/inc/style/main.css"/>
	<link rel="stylesheet" href="${staticServer}/inc/style/page.css"/>
	<link rel="stylesheet" href="${staticServer}/css/work_today.css"/>
	<script src="${staticServer}/inc/js/jquery.js"></script>
	<script src="${staticServer}/inc/js/pageset.js"></script>
	<script src="${staticServer}/inc/js/submitter.js"></script>
</head>

<body>
	<div id="home_link">
		<ul>
			<li>竞思教育网络办公系统 v2.0 beta</li>
			<li>&gt;</li>
			<li>工作管理</li>
			<li>&gt;</li>
			<li class="current">查看历史工作记录</li>
		</ul>
	</div>
	<div id="container">
		<div id="title">查看历史工作记录（${time}&nbsp;星期${week}）</div>
		<table>
			<tr class="fields">
				<th width="30%">办公地址</th>
				<th width="30%">职位</th>
				<th width="15%">姓名</th>
				<th width="25%">日期</th>
			</tr>
			
			<#if work??>
				<tr class="even_row">
					<td align="center" style="">${work.region}</td>
					<td align="center" style="">${work.department}（${work.job}）</td>
					<td align="center">${work.nickName}</td>
					<td align="center" style="">${work.createTime}</td>
				</tr>
			</#if>
			
		</table>
		<table id="__WORK_TABLE">
			<tr class="fields">
				<th width="150">时间段</th>
				<th width="250">任务名称</th>
				<th>任务详情<em class="caption">(内容、完成情况、完成数量、如未完成预计完成时间)</em></th>
			</tr>
			<#if contentList??>
				<#list contentList as list>
					<tr class="even_row">
						<td rel="select_time" align="center" style="cursor:default;"><span>${list.time}</span><p class="caption">共计 ${list.count} 小时 </p></td>
						<td><div>${list.title}</div></td>
						<td>${list.content}</td>
					</tr>
				</#list>
			<#else>
				<tr id="no-work">
					<td colspan="4">暂无工作日志记录。</td>
				</tr>
			</#if>
		</table>
		<table rel="nohover">
			<tr class="fields">
				<th>工作记录相关配图<em class="caption"></em></th>
			</tr>
			<tr id="__IMGLST_ROW">
				<td>
					<ul class="imglist">
						<#if imgList??>
							<#list imgList as list>
								<li style="line-height:180px;*font-size:157px;">
									<a href="http://www.yueqiao.org/${list.url}"><img title="${list.name}" src="${list.url}"></a>
								</li>
							</#list>
						</#if>
					</ul>
				</td>
			</tr>
		</table>
	</div>
</body>
</html>